package com.weiwu.weiwustore.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

@Accessors(chain = true)
@Data
public class LoginRestResponse {
    /**
     * 业务数据
     */
    private Object data;
    /**
     * 状态码
     */
    private int status=200;
    /**
     * 状态信息
     */
    private StatusInfo statusInfo=new StatusInfo();
    /**
     * 用户信息
     */
    private UserDto userDto;
    public LoginRestResponse(){

    }
    public LoginRestResponse(Object data, int status, StatusInfo statusInfo, UserDto userDto){
        this.data=data;
        this.status=status;
        this.statusInfo=statusInfo;
        this.userDto=userDto;
    }
}
